When tallying up the file types, use libmagic, instead of just trusting the mime types in the manifest.
Adds a Syllabus#libmagic_file_type property.