Use six.next(iter) instead of iter.next()

py3k counter compatilibity.

I love travis-ci