replacing python torrent lib with mktorrent