Fix calls to os.mknod