Don't write to generated files if no elements requiring code generation are found
Merge pull request #16 from philhofer/exit-on-no-structs

I'm going to have to un-clobber something in a second...