add @nogc annotations to std.path
Merge pull request #2142 from WalterBright/nogc-path

add @nogc annotations to std.path