Don't use std.ascii.newline with text mode