Update gitignore file.

Ignore generated files and directories.