_artifact.py: cache(): Optimize capture of metadata files

`CASCache.add_object()` requires a gRPC round-trip to (local)
buildbox-casd. This batches the calls into a single `add_objects()` call
to reduce this to a single gRPC call.
1 file changed