Fix for bug in handling of MKDIR. Fixes [bug 2249 (#2249)]. Rev: server/modules/filesystems/filesystem.pike:1.110