unpack-trees: preserve the index file version of original