Encode filename to filesystem encoding rather than UTF-8