Any officer having a claim against the fine and bond forfeitures fund for insolvent costs, or in cases where defendants have been acquitted, if the same accrued in the superior court, or a court of inquiry prior to indictment, shall present to the judge of the superior court an itemized bill of the costs claimed. If the bill of costs is approved by the judge of the superior court, he shall order the bill entered on the minutes of the court; and the order shall operate as a warrant drawn upon the county treasury, to be paid by the county treasurer or other proper county officer or officers in charge of the fiscal affairs of the county out of any fines and bond forfeitures in the treasury received from the superior court.