builtin/update-index: convert file to struct object_id