Setting character encoding properly when writing out metrics