Same bug as before, but for mkdir