ANSI 4.9.3 Whether a write on a text stream causes the associated file to be truncated beyond that point
Writing to a text stream does not truncate the file beyond that point.