Updates .gitignore to ignore files that are automatically generated.