Fixed incorrect reading of cache files as torrents