Fixed mpld3.show() for Python 3.4 by calling encoding() on str