939.03 Execution for costs in capital cases.—In all capital cases the costs in case of conviction shall be entered up against the prisoner, and the bill of costs, when taxed by the clerk and certified in the manner required by law to give a bill of costs the force of an execution, shall have the force of an execution, and may be levied upon any property of the prisoner found in the state. If the sheriff shall return said bill to the office of the clerk and make affidavit thereon that sufficient property cannot be found to pay the same, and shall state in the affidavit the amount left unpaid after exhausting all the property found, the bill, or the balance unpaid thereon, shall then be audited according to law and such amount shall be paid out of the county treasury.