Fix removal of local data when removing a torrent