An assignment for the benefit of creditors must be in writing, subscribed by the assignor, or by his agent thereto authorized by writing. It must be acknowledged or proved and certified, in the mode prescribed by this code for recording transfers of real property and recorded as required by §