add newlines to EOF