rdmd: Replace use of the shell with std.process functions

This speeds things up a bit as we're no longer running things
through a shell needlessly.
.gitignore