fix commit failure under cygwin/git