Section 78. (a) All processes and sentences of courts-martial shall be executed by an officer qualified to serve criminal process, and commitment under said sentences may be made to any jail or house of correction in the commonwealth. The master, or keeper, of the jail or house of correction to which a person is sentenced shall receive and detain him in the same manner as if he had been sentenced by a civil court sitting in the county where such jail or house of correction is situated. The necessary charges shall be paid by the commonwealth on vouchers in duplicate submitted to and approved by the adjutant general.
(b) All fines assessed by a court-martial and collected or withheld shall be paid to the commonwealth through the adjutant general subject to such regulations as he may describe.