mkdir.c improved