diff -B -M: fix output for "copy and then rewrite" case