Fix dir bug that caused redis to fail every write

`dir` config var should be set, and all data is relative to it.

* CF http://redis.io/topics/quickstart
* CF https://github.com/antirez/redis/issues/305