Changing format of photos to JPG.