Support creating directories for dump command.
Start defining flags so we know what they are
Merge pull request #2 from xsacha/master

Create directories in dump mode