Update add_torrent.py

fix issue with .torrents in 27