remove dependency on mkdirp