replace pread64/pwrite64