Ignore backup files

Ignore files ending in ~, so they aren't
saved in the repository.