[tor-commits] [stem/master] Fix py3 compatibility issue with code moved in previous commit