The garnishee is allowed the compensation and privileges of a witness, for the garnishee’s attendance and answer, and all costs to be paid by the plaintiff.