Convert line breaks to literal \n so CSV results file is readable.