_write optimized for CR/LF