Added failing spec for ASCII-only String#encode!

String#encode! fails for ASCII-only strings when
Encoding.default_internal is nil.

Illustrates issue #2878