Ignore backup files
tests: avoid encoding literals

We only support Python 2.6 and later. There the b'...' syntax can be
used instead of doing a dummy encoding:

  https://docs.python.org/2/whatsnew/2.6.html#pep-3112-byte-literals
Merge pull request #47 from mgeisler/small-fixes

Small fixes