Add files generated by examples to the .gitignore
Fix value for header content-encoding in a test

Not that it matters for the test, but still.