makedirs to create deep hierarchical directories recursively in Python https://from-locals.com/python-makedirs-exist-ok/