Make CDirectory::Exists support use directory cache by default.

We check file exists in CFile::Open() and CFile::Exists() for files, but not for dir in CDirectory::Exists() yet, this PR make CDirectory::Exists() also use directory cache to speed up the Exists operation.