ensure generated files are identical on all platforms

Before this fix, they were formatted differently on Windows.
(Note that the result was equivalent, only the formatting differed).

Change-Id: I37c48dafc813a4a353e6c0c953d0bbe906d9a9f7
sanitize gitignore

Change-Id: I7a3cb55b7138b3ee4b139c1158d9fa9ccd6a4520