Adds dir-manager for using mkdirp() to recursively create output directories.