[SPARK-3758] EOL character enforcement

We have shell scripts and Windows batch files, so we should enforce proper EOL character.