difftool: fix dir-diff index creation when in a subdirectory