Py3 fix for iteritems.