Common: replace string.sub with a version that supports unicode