Transform extension to lower case before searching MIME type