add support for gzipped torrent files, even if they do not have a .gz file ending. Thanks to disputin for the code sample. python-magic now a required module.