Brought excluded code into the scope of a try block in SysLogHandler.emit().

--HG--
branch : 2.7
Issue #17717: Pull NASM from svn.python.org for OpenSSL build.

--HG--
branch : 2.7