Fix python 2 support, use backported configparser