Ensure all files have a newline at end-of-file.

This is to avoid spurious git diffs.