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