Added support for mkdirp to recursively create a folder structure from a file path.