The sheriff or other officer shall return such writ according to the command thereof, with the name of the surety or sureties, together with the recognizance taken as aforesaid; and the recognizance so taken and returned shall be filed and recorded by the clerk of the court to which the same was returned, and may be proceeded on in the same way as if such recognizance had been taken in the court during term time.