Import configparser portably across python versions