sha1-file: convert pass-through functions to object_id