fix DirectoryIterator example