Fixed filenames which were being saved with the raw's extension