Fix newlines, etc.