Add support for DirectoryIterators