Include connection when writing CACHE_KEYS

To work with the current version of dalli, the connection has to be passed in the options hash when calling (old_)write_entry.