More Python > 3.x support

Replace {}.iteritems with .items.

This should fix issue #18