ChunkedIterator expects Iterator not Traversable - Fixed.

ChunkedIterator has a flaw on expecting an Iterator on 
IteratorIterator::getInnterIterator(), however that 
provides a Traversable which must not have the used 
valid() method.

- ref: http://php.net/iteratoriterator.getinneriterator