mkdirp, but chown to the owner of the containing folder if possible and necessary
npm install mkdirp-infer-owner