Add trailing newlines to files missing them