Fix line-endings and whitespace