You are right, I did this initially but then realized that with that solution I can not know if the folder existed previously to avoid emitting the log message "Creating ...". I see that it would be better to avoid a network round-trip that a log message. May be I can elaborate more on the passed script and do everything in the same round-trip.