Fix .gitignore file patterns.