Every defendant may stay the execution for the fine and costs for thirty days, by procuring sufficient sureties, to be approved by the district judge, to enter into recognizance before the district judge for the payment of the fine and costs; the entry of such recognizance shall be made on the docket of the district judge, and signed by the sureties, and shall have the same effect as a judgment, and if the same be not paid in thirty days, the district judge shall proceed as in like cases in the superior court.