Provides recursive versions of mkdir() and rmdir()
with as little code and overhead as possible.
