convert encoding of file path from utf8-mac to utf-8