Don't throw unicode exceptions when logging