Add trailing newlines to files that lack them