The party prevailing on a writ of certiorari in any proceeding of a civil nature shall be entitled to costs against the adverse party. If the writ appears to have been brought for the purpose of delay or vexation, the court of appeals may award double costs to the prevailing party.