[SPARK-3566] [BUILD] .gitignore and .rat-excludes should consider cmd file and Emacs' backup files