content type with gio/glib as an alternative to libmagic