Create any intermediate subdirectories required