Fixing the file names for the thumbnails.