Fix unlink() for CacheEngine::clear() failed on windows.

refs 7dae4a7fd834011df6bbc3b5d4eec3073d7c5500