Pass through any encoding instances passed to Ruby19.pick_encoding

This also passes some additional error info to the warn when encoding fails