[tor-commits] [stem/master] Checking that to_bytes has unicode before converting