ensure single trailing newline
Merge pull request #801 from github/fix-trailing-newlines

Ensure single trailing newline