Fix uppercase image extensions