fix problem with non-ASCII characters in output path on Windows

This was due to usage of QString::fromUtf8 which is not always
correct -- on Windows, the current locale is almost never UTF-8.
Using QString::fromLocal8Bit seems to fix #1545.