Convert ext/xmlwriter to HNI.

Signed-off-by: Arthur Loiret <arthur.loiret@ens-lyon.fr>