Fix exception syntax, fix subtle dict_keys-->list error [py3k]

In the Channel fix, a `dict_keys` object is returned instead of a `list`, the declared return type.