Converted the code to use new Python3 APIs
Disable interpolation on ConfigParser, there's no way to escape %s in it.