All prosecutions against a railroad or an officer, agent, or employee thereof, under Chapters 4901., 4903., 4905., 4907., and 4909. and other sections of the Revised Code for penalties involving imprisonment shall be by indictment.