TOOLS: Implement recursive directory creation for UNIX-like systems.