Remove iteritems for Python 3 compatibility

`iter*` methods have been removed in Python 3 since methods return iterators by default.