Update XMLWriter.php

NULL WriteText input is now strictly converted to empty string.