Fixed a bug that meant the DirectoryIterator.reset() invocation within
AbstractNode.create() only worked for some node types.