[database] Use format for string formatting

This package is still compatible and used with Python 2.7
processing environments.

It's also used in production which is running Python 3.5.

This makes the use of the new "fast" string notation not yet
possible.
2 jobs for 20_use_old_string_format in 10 minutes and 24 seconds (queued for 4 seconds)