Buffered file output
Avoid expensive fmt.Fprintf in StringWriter.Write inner loop