[tor-commits] [stem/master] Move helper functions to end of remote module