Fixes for downloading torrents