string_bytes: legacy stubs