The bond and affidavit must be returned by the officer issuing the attachment to the court to which the attachment is returnable.