[tor-commits] [stem/master] Make path check platform agnostic