Enhanced torrent.get_fingerprint() function