[tor-commits] [stem/master] Changing isinstance() checks to look for both bytes and unicode