Add newline to end of generated source.

Closes #245.