fix lint namespace warnings

some of this was in code generation... casadibot keeps fighting us
don't use temp files in autogencode.py