Added a recursive directory creation.