[#67] Use recursive flag in mkdir calls

- Also has side effect of allowing fewer calls to mkdir.
Merge branch 'hotfix/67' into develop

Forward port #67