some ConstDirectoryIterator changes