Log Message:
-----------
Move context definition into higher scopes
The functions include additional calls to IO code that takes a
context arg under PERL_IMPLICIT_CONTEXT. These probably slipped
through because they are only compiled when HAS_ZLIB is true.