diff --no-index: use strbuf for temporary pathnames