Better support for unicode filenames on Win32
(Not tested on other platforms yet, will not work!)
[01a2f3a346]