Use fsync on MSVC, as fdatasync doesn't exist