Fix fatal: s/printf/sprintf/

Leads to SimplXMlElement fatal since we end up with an unparesable XML
string.