Stata version dependent behaviour introduced
added win handling to chooseStataBin