If any person whose office has become vacant, or his or her executor or administrator shall fail to deliver any record, book, or paper to the person entitled to them, any judge of the Supreme Court or circuit court, upon the affidavit of any creditable person, setting forth the facts, may issue a warrant directed to some sheriff or coroner, commanding him or her to seize all the records, books, and papers appertaining to the office, and deliver them to the proper officer, who shall be named in the warrant.