init.sh: run tr in the "C" locale to avoid multibyte interpretation