really basic version of mkdir -p for -o option
Merge pull request #192 from phated/master

Implement `mkdir -p` for `--output` build option.