Whenever a receiver or assignee is appointed for any person, company or corporation, the court shall require such receiver or assignee to pay all claims for which a lien could be filed under this chapter, before the payment of any other debts or claims, other than operating expenses.