[#10] rewrite windows line endings for patches

see line 2061 of diff-make-patch/index.js