Fix Python3 support: remove iteritems