Fix new line terminators