(a) When the principal in any replevy bond is wasting the replevied property or is removing or is about to remove himself or property out of the state, the surety or sureties on the replevy bond may demand of the principal adequate indemnity against loss by collateral security.
(b) If such security is not given within five days after demand made, the surety may make affidavit thereof before the clerk of the court in which such bond is filed, setting forth the demand of the principal for collateral security, for some one or more of the causes mentioned in subsection (a) of this section, and that the principal has failed to give security.
Thereupon, the clerk must issue a writ directed to the sheriff commanding him to seize the replevied property and hold the same until the decision of the civil action in which it was replevied or until the principal executes bond with sufficient surety in the same penalty as the replevy bond, payable to the surety, with condition to have the property forthcoming to abide the decision in the principal civil action, or to pay and satisfy the judgment entered therein.
(c) If the bond is not given and the property seized is of a wasting or perishable nature or the expense of keeping it would materially affect its value, it must be sold by the sheriff in the same manner as property levied on under execution and return thereof made as upon a writ of execution.
(d) If the bond is given, it must be filed with the original replevy bond, and execution may issue thereon upon a breach of the original replevy bond in favor either of the plaintiff or of the surety.