implented mkdir --mode to support octal/numeric mode