FORM OF MASTER CUSTODIAN AGREEMENT