In case any witness fails or refuses to obey a subpoena, the department of transportation may issue an attachment for such witness, directed to any sheriff or constable of the state, and compel the witness to attend before the department of transportation and give testimony upon such matters as shall be lawfully required by it.