Remove dependency on mimetypes
Support ZIP archives (with automatic prefix stripping)