Update c2d for latest `std.path`.

Remove usage of deprecated and removed functions:
* replace `getExt` with `extension` and correct
* replace `basename` with `baseName`
* replace `dirname` with `dirName`
* replace `fnmatch` with `globMatch`
Merge pull request #5 from denis-sh/update-c2d-for-latest-`std.path`

Update c2d for latest `std.path`.

Thanks. Most of these files are actually not used in active projects, but it's good to keeping the update anyway.