The SLDWriter should return an SLDStyleDescriptor as root.
The H2 Workspace should override getFormat to return a nice format name.
Let the user pass in a string directory for ease of use.