Fix the silly '.db.db' file names in python 3

Please note that this commit will break compatibility in
running instances of err, as it won't be able to find its
old databases.