We need to use the utf8 layer when writing files to be diffed,
and utf8::decode the `git diff' output. Furthermore, do the
CRLF > LF conversion early to avoid showing CRLF vs LF
differences in the diff, since that doesn't matter to MUAs
(nor our normal HTML views)