Can't patch sys.stderr.write in Python2, so reverting change to capture warning output from Sphinx.