Refactor to use BittorrentDownload from common.