Fix inconsistent newlines in several files.