Section 20M. If the application for a requisition for the return to this commonwealth of a person charged with crime herein, or for the return of a person who has been convicted of a crime herein and has escaped from confinement or has broken the terms of his bail, probation or parole, is complied with and an agent appointed, the account of such agent shall be paid like other expenses in criminal cases by the commonwealth.