Fix bug #7651 - mknod and mkfifo fails with "No such file or directory"