Merge pull request #144 from medunigraz/master

Use items() instead of iteritems() for Python3 compatibility.