Updated .gitignore to ignore temp files with ~

Updated .gitignore to ignore temp files with trailing ~