As a general point (not blocking an r+), should this write `\r\n` on windows?