code: function(dir){
          dir = dir || _OS_HOSTS_DIR;
          var str = this._stringifyData(this._dataCache);
          fs.writeFileSync(dir, str, 'utf-8');
          return this;
      }
docs: 写文件
  @param dir {String} host文件地址
  @return {HostAdmin}