code: function(writeLocation, contents, args) {
  			//return _doServiceCall(this._getService(writeLocation), "write", arguments); //$NON-NLS-1$
  			return _doServiceCall(this._getService(writeLocation), "write", arguments).then(function(result){ //$NON-NLS-0$
  				if(this.isEventFrozen()) {
  					if(!this._frozenEvent.modified) {
  						this._frozenEvent.modified = [];
  					}
  					this._frozenEvent.modified.push(writeLocation);
  				} else {
  					this.dispatchEvent({ type: "Changed", modified: [writeLocation]}); //$NON-NLS-0$
  				}
  				return result;
  			}.bind(this));
  		}
docs: Writes the contents or metadata of the file at the given location.
  
  @param {String} writeLocation The location of the file to set contents for
  @param {String|Object} contents The content string, or metadata object to write
  @param {String|Object} args Additional arguments used during write operation (i.e. ETag)
  @public
  @return {Deferred} A deferred for chaining events after the write completes with new metadata object