Fix redownload files bigger than the cachesize