Add ability to specify encoding when dumping data from redis

I ran into issues where some of the data was latin1 encoded and without specifying an encoding I was getting an exception when dumping the data