code: @PublicEvolving
  	public void write_as_text(String path, WriteMode mode) {
  		stream.writeAsText(path, mode);
  	}
docs: A thin wrapper layer over {@link DataStream#writeAsText(java.lang.String, WriteMode)}.
  
  @param path The path pointing to the location the text file is written to
  @param mode Controls the behavior for existing files. Options are
  NO_OVERWRITE and OVERWRITE.