gitk: Use mktemp -d to avoid predictable temporary directories