Mime type from the extension + length as a binary integer