Update auto-generate output

This creates a directory if the directory in a config does not already exist.
Merge pull request #3 from janies/feature/create-dir

Configuration does not auto create a directory