code: function mkdirRecursive(root, chunks, mode, callback) {
  
    var chunk = chunks.shift();
    if (!chunk) {
      return callback(null);
    }
    var root = path.join(root, chunk);
  
    return fs.exists(root, function(exists) {
  
      if (exists === true) { // already done
        return mkdirRecursive(root, chunks, mode, callback);
      }
      return fs.mkdir(root, mode, function(err) {
        if (err && err.code !== 'EEXIST')
            return callback(err);
        
        return mkdirRecursive(root, chunks, mode, callback); // let's magic
      });
    });
  }
docs: /*
  functions
   
  make directory recursively
  
  @function mkdirRecursive
  @param {String} root - absolute root where append chunks
  @param {Array} chunks - directories chunks
  @param {Number} mode - directories mode, see Node documentation
  @param {Function} callback - next callback