Fix namespace and initialization of Xsl writer after move