Lowercase the extension since the mime lookup by extension is case sensitive.