When the punishment of the crime shall be the confinement of the criminal in the penitentiary or death, the expenses incurred in bringing an accused back to the State of Alabama shall be paid out of the State Treasury, on the certificate of the Governor and warrant of the Comptroller. In all other cases, they shall be paid out of the county treasury in the county wherein the crime is alleged to have been committed. Notwithstanding any other provision of law regulating expenses of state officers and employees, the sheriff or other agent shall receive $8.00 per day while going to and returning from the place where the prisoner is arrested or confined and actual necessary expenses, including expenses of transportation; if train or bus is used, actual cost of transportation shall be allowed, but if the trip is made in the personal car of the sheriff or other agent of the state there shall be allowed for transportation $.10 for each mile traveled. There shall also be allowed the fees paid to the officers of the state on whose Governor the requisition is made.