Section 55. An agent appointed by the commissioner of banks for the purposes of liquidating the affairs of a bank, as defined in section one of chapter one hundred and sixty-seven, or a person employed by said commissioner under section twenty-six of said chapter, or a receiver or other officer appointed by a court of record, who embezzles or fraudulently converts, or fraudulently takes and secretes with intent so to do, or wilfully misapplies, moneys, funds, credits or other property in his possession by virtue of his appointment or employment, shall be guilty of larceny and shall be punished by imprisonment in the state prison for not more than ten years, or by a fine of not more than one thousand dollars and imprisonment in a jail or house of correction for not more than two years.