code: function save(file, db, cb) {
  	// Race condition - https://github.com/nodejs/node-v0.x-archive/issues/3958
  	// Save only last call.
  	if (writeQueue[file]) {
  		writeQueue[file].db = db;
  		writeQueue[file].callbacks.push(cb);
          writeQueue[file].version.version++;
  		return;
  	} else {
  		writeQueue[file] = { callbacks: [cb], db,  version: 1};
  	}
  
      writeToFile(file);
  }
docs: Save JSON content into a file (if the path doesn't exist then create that path).
  
  @param {string} file File path
  @param {object} db Data to store into the file.
  @param {function} cb Callback called when file readed. Takes one argument, the error
  (if any).
  @returns {void} Nothing.