Make sure that the file name is turned into a valid C identifier.  Fixes #16.
Avoid emitting null statements.  Fixes #2.