Option to emit Redis protocol from rdb command

I've added the ability to emit [Redis protocol](http://redis.io/topics/protocol) to the `rdb` command, so that it can be used with the `redis-cli --pipe` command.