Remove python2 specific use of iteritems.

Change-Id: I40abc8afb98fd8c4d88c872859e43df5716fa8d3