cat-file: add --batch-all-objects option