Each prisoner shall be charged with the cost of all tools and appliances for the performance of labor which are furnished to him, and upon his release or discharge from a camp, he shall deliver to the superintendent thereof all tools and appliances for which he is charged and shall thereupon be entitled to full credit for the cost of the tools and appliances so returned. The cost of any appliances and tools not returned as provided in this section shall be deducted from the compensation due the prisoner.