Small issue with filenames on convertion from one format to another.

Found out that filename bugged when I tried to resize and convert files from png to jpg.