-p option may not be after path for mkdir (on OS X at least)