Fix a couple of missed to_str() → to_string().
Change the codegen tactic to cope with hygiene.

Hygiene means that `include!` is practically useless now.
The new approach is just writing out a full module and passing the
stream to a function in it.