move torrent::type_t to torrent_info