Adds newlines to EOFs.