The term “bond,” when used in any statute, shall embrace every written undertaking for the payment of money or acknowledgment of being bound for money, conditioned to be void on the performance of any duty or the occurrence of any thing therein expressed and subscribed, and delivered by the party making it, to take effect as his obligation, whether it be sealed or unsealed.