[mklocal.py] Fix filename encoding issue with foreign characters