Convert the extension to lower case before comparing it to supported formats