moved mkdir() to plugin utils.