Fix case of image extension