fix dirty filenames