Implement handling of downloading and output to deluge.