[Bug 410931] Opening a JPG file shows as text in editor when ".JPG" extension is upper case