Fix redis module DB persistency issue

`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