Fix line endings for check.