git-svn: hoist out utf8 prep from t9129 to lib-git-svn