Use wfMkdirParents() here, rather than 3 mkdir() calls.