Fix mkdir mode specifiied as an octal number