use path.join for windows support (still flaky though)