BUG: move mkdirs to configuration so that avoid conflit in utils