Upon the production of such order to any judge or clerk of a court of record, he shall be authorized to take the recognizance, with sufficient sureties, in the sum directed, conditioned for the appearance of the prisoner at the court designated in such order.