Python 3 removed file() in favor of open().
Updated CNDA to support the new C API in Python 3.
Py3k locals() does not work in list comprehensions.
Python 3 popen() outputs are bytes, need to decode.