lib/utils/fs.js
function ensureFile(filename) {
    var base = path.dirname(filename);
    return Promise.nfcall(mkdirp, base);
}
function ensureFile(filename) {
    var base = path.dirname(filename);
    return Promise.nfcall(mkdirp, base);
}
function ensureFile ( filename ) { var base = path . dirname ( filename ) ; return Promise . nfcall ( mkdirp , base ) ; }
Create all required folder to create a file
Create all required folder to create a file