py: Give up and make mp_obj_str_get_data() deal with bytes too.

This is not fully correct re: error handling, because we should check that
that types are used consistently (only str's or only bytes), but magically
makes lot of functions support bytes.