Fix attachment filenames