GEOS-6800: fixed wrong example in docs
Merge pull request #858 from mbarto/geos6800_fix_docs

GEOS-6800: fixed wrong example in docs
Make sure output stream are closed when writing out catalog.xml
Merge remote-tracking branch 'upstream/master'