py3: iteritems
py3: keys() returns an iterator
Expire must be an integer