Fix un-normalized nowdoc string

`ClassCodeGenerator` spec is failing on windows because msysgit will convert files to "\r\n" line breaks, thus making nowdoc string has "\r\n" in it.