I'm not sure what that would mean.
This might break things altogether, but you could try taking the trailing slash off your path property. I think Windows servers have a problem with a trailing slash in mkdir().
TBH, I don't know why the recursive mkdir function is there in the code. It was in the code when I ported it from Evolution so I left it there, but mkdir() has had a 'recursive' argument for a long time, so it should really be unnecessary.
When I have time, I'll try to get out a new version with (hopefully) more tolerant code.
OTOH, that really shouldn't cause your problem because if the directory already exists, that mkdr code shouldn't run. That suggests some kind of permission or ownership problem where that directory is invisible at the time the snippet runs.
------------------------------------------------------------------------------------------
PLEASE, PLEASE specify the version of MODX you are using.
MODX info for everyone:
http://bobsguides.com/modx.html