Memcache list all keys script - ruby