Implement fsync() and GetUptimeSeconds() on Windows.