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

It was broken on win32 because of header inconsistency.
auto merge of #9165 : klutzy/rust/newrt-file-fix, r=sanxiyn

It was broken on win32 because of header inconsistency.