tree: fix path join for Windows