main-coverity-EventDisplaysOnline
Coverity defects: should check return codes of mkdir and chown; guard against passing nullptr to Py_DECREF.
Coverity defects: should check return codes of mkdir and chown; guard against passing nullptr to Py_DECREF.