Fix an error message in Win32

Changed to show file names in local encodings correctly when unable to open in Win32.