Work around a race in sphinx.
Create the target directory before calling sphinx to render
content into it. Sphinx suffers from a race where it crashes with an
exception if it tries to make a directory and someone else does first.
PR: 227460
Reported by: ohartmann@walstatt.org
MFH: 2018Q2