python 3.x fix add torrent by file issues