fix commit failure under cygwin/git

issues 82