Two small changes to make unicode.get_df work with Python 3.

This should also work in Python 2, but do we really care about those guys ;)