distinguish byte oriented mime-data from strings in clipboard for python 3 compatibility