Fix file names encoding when default Mercurial encoding is not utf-8

This patch fix issue https://github.com/frej/fast-export/issues/36