replace windows eol with unix one in git commit message
refactoring for better reading