fix a problem that file paths can be unicode
Merge pull request #373 from LipuFei/fix_unicode

Fix a problem that file paths can be unicode