add further countermeasures against the git core.autocrlf option (fixes #9075)