Merge "make sure that lower-case mime and file suffix is used to check against the supported ones"