DONT MERGE fix CRCRLF on 2.x

double text mode in atomic_writing caused LF to become CRCRLF