std::rt::io: Fix file I/O on Win32

It was broken on win32 because of header inconsistency.