Fixed type in fileops.