Add common temporary file names created by text editors to .gitignore.