Allowed dir check to have back slashes in it for makeDir()