openssl: Set the external encoding to ASCII-8BIT

Add a new helper function, with_encoding_ascii_8bit.
Closes homebrew/linuxbrew#25.