Write text to a file on disk. Counterpart to TextfileRead; does not touch the document registry. After a successful disk write, fires $acceptModelSaved to Cocoon so extensions receive onDidSaveTextDocument (T1.4).
TextfileRead
$acceptModelSaved
onDidSaveTextDocument