sha1_file: restore OBJECT_INFO_QUICK functionality