remove a hard coded dos path sep, and some more clean up