Updated XMLWriterPlus to only flush on __desctruct if the internal XMLWriter instance has been instantiated.