append newlines to ends of files