Fix fon-gen.py with new version of sgen.py