Do not use python-magic, instead use is_zipfile and is_rarfile, falling back on extension for PDFs.
Merge remote-tracking branch 'origin/master'