Fixed #23522 -- Changed reverse() to return a text string; not bytes