cat-file: teach cat-file a '--allow-unknown-type' option