Section 19. An officer or other person, who, being employed in any penal institution, voluntarily suffers a convict confined therein to escape, or in any way consents to such escape, shall be punished by imprisonment in the state prison for not more than twenty years.