Use mkdirp to handle non-existent directories
Merge pull request #5 from mrjoelkemp/mkdirp

Use mkdirp to handle non-existent directories