Update .gitignore

Ignore swap files and backup files.
[ci skip]