Correct images extensions from jpg to jpe