fix iteritems issue for Python 3
Merge pull request #2 from livibetter/fix-python3

fix iteritems issue for Python 3