Fix warning for mkdir