Handle embedded NULs in strings for xlat.  Fixes #571