Support unicode characters in paths in Windows

Set boost::filesystem locale to UTF-8 at start of program, independent of operating system. This wiil allows for unicode chars in file and directory names in Windows.

Attempt at fixing #3916.

Just seeing what the pulltester will do.

Testing is welcome, but do not merge. This is frought with edge cases and I'm not sure this is the best solution.