mkdirp node module with externs