normalize newlines