Update gitignore to ignore files ending with ~