mkdirp for local.file