bdist_conda: fix Python 2 issues

- Classes in distutils are old-style, so we can only use super() in Python 3
- Use str() or unicode() where necessary
- Some compatibility imports
bdist_conda: super() is only used in Python 3, so we can use the new syntax