core: optimize Bytes::append_text using redefs in Text subclasses