Trailing whitespace in generated LICENSE files.

Fixes #1692.