moved mkdir() to plugin utils.

Better support for making directories during concurrent processing.
This is unrelated.
I'm removing the return type because it's not accurate.  The return type can be anything and not necessarily and *object*.  Mainly making pycharm happy.