ENH: Use python recursive directory creation function os.makedirs() instead of simple os.mkdir()