Passing options.indent along when creating XmlWriter

At this point options are entirely ignored in `dump`.
XmlWriter has an indent param however, so we can use options to pass this configuration along.