f Use sync_all rather than libc::fsync