Fix mode option for mkdir command