When a deposition is to be taken in this state, and a commission is granted under section 2945.50 of the Revised Code while the defendant is confined in jail, the sheriff or deputy or other person having custody of the defendant shall be ordered by the court to take the defendant to the place of the taking of the deposition, and have him before the officer at the time of taking such deposition. Such sheriff or deputy or other person having custody of the defendant shall be reimbursed for actual reasonable traveling expenses for himself and the defendant, the bills for the same, upon the approval of the board of county commissioners, to be paid from the county treasury on the warrant of the county auditor. Such sheriff shall receive as fees therefor, one dollar for each day in attendance thereat. Such fees and traveling expenses shall be taxed and collected as other fees and costs in the case.
R.C. §2945.51