fix filenames with replace