convert file format to UTF-8 (fix #54)