After filing the affidavit with the clerk, the plaintiff shall be entitled to have the writ issued as soon as he files with the clerk his undertaking, with one or more sureties, in a sum not less than one hundred dollars, and equal to the amount for which the plaintiff demands judgment, and to the effect that the plaintiff will pay all costs that may be adjudged to the defendant, and all damages that he may sustain by reason of the attachment if the same be issued wrongfully or without sufficient cause, not exceeding the sum specified in the undertaking. With the undertaking the plaintiff shall also file the affidavits of the sureties from which affidavits it must appear that such sureties are qualified, and that, taken together, they are worth double the amount of the sum specified in the undertaking, over all debts and liabilities and property exempt from execution. No person not qualified to become surety for bail upon an arrest is qualified to become surety in an undertaking for an attachment.