If a witness shall not obey the subpoena served on him in case of habeas corpus, the judge or chancellor may not only issue, or cause the clerk to issue, an attachment for the witness, but shall indorse on the subpoena the default of the witness and a fine therefor, and file it with the other papers in the clerk's office of the proper circuit court. Scire facias shall issue for the witness, returnable before the court, and proceedings shall be had as provided in case of a defaulting witness in the circuit court.