Python3 compat for iteritems.