only need binmode in debug mode, this will silence a lot of warnings when used with Tie::Syslog