Rearranging filenames to avoid MIME-type issues.