Add a generated file to .gitignore.