xml: fix use-after-free in fprintf_locale.
xml: fix use-after-free in fprintf_locale.

Fixes #232.

Snaipe/Criterion,a1lu/Criterion,a1lu/Criterion,a1lu/Criterion,Snaipe/Criterion,offa/Criterion,a1lu/Criterion,Snaipe/Criterion,offa/Criterion,a1lu/Criterion,offa/Criterion,offa/Criterion,Snaipe/Criterion,Snaipe/Criterion,offa/Criterion