normalize line endings, see detailed note

http://stackoverflow.com/questions/18536863/git-refuses-to-reset-discard-files