Wide characters and file stream I/O fixes to build on Windows