Do we need `unless` here? Seems to me that if encoding is `ASCII_8BIT` already, there is no harm in forcing it. (And the code is slightly cleaner as a result.)