Added support for 'binmode' (to set PerlIO layers, esp. encoding).
Merge pull request #1 from mendel/binmode_support

Support for 'binmode' (to set PerlIO layers, esp. encoding).