Check file is not prefetched before it is erased from disk.
Fix bug task->condVar lock.
Improvements in cache purge.