in XmlItemWriter, avoid writing xml declaration inline in APPEND mode; remove the check for isDirectory in getOutputStream method since it's already performed by FileOutputStream; add a test for large xml file.