Corrected bug with unicode filenames.