fixes configparser in python 2.x

configparser is a module that has the constructor function so calling
configparser before resulted in a `TypeError: 'module' object is not
callable` error