Fix broken newline handling in the generator library