Allow persistent storage.

This comes from issue #26. I made a simple change to check if expire was None or less than zero, and if so call set() instead of setx().