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
Merge pull request #113 from vperron/master

Fix redis module DB persistency issue