File I/O already handles '\r', so we can remove the O_TEXT flags.