Win32: fsync() replacement