Fixed Unicode problems during getting the file name