22.0.17. Subject to any contrary agreement in writing and authorized by the Director General, the balance of the remuneration shall be deposited by the warden in a financial institution and credited to the savings account held in trust for such purpose by the warden. When the confined person is released, the warden shall, by a cheque signed by him, pay to the person the amount and interest owing to him.