I thought this at first as well but after testing it out it seems to only create the directory if it does not already exist.

http://unixhelp.ed.ac.uk/CGI/man-cgi?mkdir