The funds received by the warden under § 41-21-216 are subject to the satisfaction of any judgment for fine and costs rendered against the inmate upon pronouncing sentence and to the expense of keeping the inmate, if any, over and above the inmate's labor.