Minor fixes to make rake pass after implementting Torrent IO