docs: function mkdirSyncRecursive(dir, mode) {
  	try {
  		fs.mkdirSync(dir, mode);
  	}
  	catch (err) {
  		if (err.code === 'ENOENT') {
  			mkdirSyncRecursive(path.dirname(dir), mode);
  			mkdirSyncRecursive(dir, mode);
  		}
  		else if (err.code === 'EEXIST') {
  			return;
  		}
  		else {
  			throw err;
  		}
  	}
  }