Fixed bug with paths in the torrent cache