findParentDirCached and dirExistsCached are unused

remove them and their tests