Use mkdirp so sub directories can be specified