Fix syntax error prevent installation in Python 3.x

An exception handled in textui.prompt was being handled using the old-style
`except Exception, e:` syntax. I've updated this, but specifically have not
addressed the potential issue of catching a bare exception.

Closes #122.