Basic structure for s5fs_mkdir
Special case '.' entry, it's called only by s5fs_mkdir.