Fix broken newline characters