builtin/unpack-file: convert to struct object_id