Fix opening non-ASCII paths in Windows

4 jobs for win32-open-fix in 52 seconds (queued for 12 seconds)