Make "cat-file" use "read_object_with_reference()"