fix cot_rc_add_file() order param