Correct newlines at end of files