A receiver or manager of the property of a company appointed as aforesaid shall, to the same extent as if he or she had been appointed by order of a court, be personally liable on any contract entered into by him or her in the performance of his or her functions except insofar as the contract otherwise provides, and entitled in respect of that liability to indemnity out of the assets; but nothing