Clean up mkdir interface.