fixed unwanted case-sensitivity

of jpeg filename gathering