Update .gitignore to ignore temporary files.