Fixes write to use set and expire_ttl vs setex directly

This is based off of someone else's code. I'm making a formal pull request so future redis-rack-cache users don't have their memory eaten up by never ending TTLs.

https://github.com/SamSaffron/redis-rack-cache/blob/master/lib/rack/cache/redis_entitystore.rb