Fix line terminators