Added six.py and replaced all instances of iteritems.