checkout-index: fix --temp relative path mangling