Revert "Set binary encoding on some I/O operations."

This reverts commit 0d9fd5ae91783b25999b322358e6c658ea01b473.

You cannot set `# encoding: utf-8` at the top level and force the encoding to be `binary` during the process. It'll break the runtime.

Ref: https://github.com/FooBarWidget/passenger/commit/0d9fd5ae91783b25999b322358e6c658ea01b473#commitcomment-2518695