Fix the ex_stat example.