Fix to_unicode convert if argument is not string