Fix string-> bytes conversion on backport from 2.x.
1 file changed