use mkdirp.sync instead of custom version