Replaced some occurrences of iteritems() by items().

While testing your paramiko port under python 3.2, I found some occurrences of iteritems(), which was removed from python3.