Revert "Remove content decoding/encoding for I/O streams"

This reverts commit 969bd348e317003b88904671c3d25b76c0509307.
Ensure podcast saved as binary file on Windows