Otherwise, when saving a file to a bla.jpg which is really a png file, then we'll save as png as well.