Use binmode for portability.  Thanks to Stanislav Meduna.  Closes CPAN
bug #81310.