[tor-commits] [sbws/master] Add _expand_paths function as suggested by pastly