slapos.slap: cast xml from unicode to string if it is unicode.