fix import of syslog handler for older pythons