Fix #374
Add testcase
Merge pull request #375 from untitaker/nonascii_path

Fix #374