Updated generators to fix windows character counting bug where newline
is converted to \n.