adds files ending in ~ to .gitignore