core: ensure that #media_identify_extension{} mime and preferred_extension are binaries.
This makes pattern matching easier.
Merge branch 'master' into mw-filestore