findParentDirCached and dirExistsCached are unused

remove them and their tests
move last function in fsTools into the only place it is used