Bugfix: expert mode was crashing when home path contained non-ASCII
characters on Windows. #1478