Added range version of std.path.buildPath()

This also fixes [issue 10347](http://d.puremagic.com/issues/show_bug.cgi?id=10347).