std.path - more rangification
Merge pull request #2169 from WalterBright/path-more-ranges

std.path - more range-ification