Add missing newlines to EOF