Fix incorrect case for JPG/jpg image