A Model of Contract Guarantees for Credit-Sensitive, Opaque Financial Intermediaries