Python 3 deprecated dict iteritems.