fix windows path.join handling - fixes #1