add newlines to all file endings