[tor-commits] [stem/master] Add a _split_by_length() helper