pyfnwriter: introduce C mode