Fix iopubwatcher to work under Python 3.
Merge pull request #429 from enthought/bugfix/fix-iopubwatcher-for-py3

Fix iopubwatcher to work under Python 3.