Upon the filing of any separate or joint notice of appeal or application for appeal or upon the receipt of any order allowing, or notice of the allowance of, an appeal or of a writ of certiorari $5 shall be paid to the clerk of the district court, by the appellant or petitioner.