If any former sheriff shall neglect or refuse to deliver to his successor, the jail, process documents and prisoners in his charge, as herein required, such successor may notwithstanding take possession of such jail, and take the custody of the prisoners therein confined, and may compel the delivery of such process and documents, in the manner prescribed in the one hundred and thirty-third chapter of these Revised Statutes.