DataSet.writeAsFormattedText()

You can now write data to text files using custom formatting functions.