Fix the mkdir mode option