Support encoding option for galileo dump
Add unit test for dump command
Merge pull request #25 from keedi/feature/support-dump-encoding

Fix dump could deal the encoding