disable warnings from mkdir()