A guardian ad litem appointed for an infant or incompetent person under Rule 17(c) of the Federal Rules of Civil Procedure shall not be liable to pay costs of action; and he shall be allowed a reasonable sum for his charges as such guardian, to be fixed by the court, and taxed in the bill of costs.