(a) The clerk of the court, at the end of each term, shall issue executions for all fines imposed on indictments, in penal actions, or otherwise, and for the costs of conviction in criminal cases during the term, and remaining unpaid, which shall be executed in the same manner as executions in civil cases. The property of the defendant may be seized and sold, notwithstanding that he or she may be in custody for the same demand.
(b) In every case where a witness is summoned by a special subpoena to testify in a particular case in which an indictment may be found, it shall be the duty of the clerk to tax the attendance of the witness with the cost of the suit, to be collected from the defendant, in the event that judgment shall be rendered against him or her therefor, and to be paid into the county treasury.