Fix files with missing newlines at the end

These break a bunch of Unix-y tools (starting with `cat`) and cause Git to complain in diffs.