Added mkdirp call to module init procedure.