Section 38. Punishment by the use of the gag shall not be allowed in any penal, reformatory or charitable institution. An officer of any such institution who uses a gag as a punishment shall be punished by a fine of not more than fifty dollars.