adding a guard around configparser for py3 support