// TODO: push to a helper? Could still be improved by taking more of the site information from the site plugin
FileOutputStream fileOutputStream = null;
try
{
DecorationModel model = new DecorationModel();
model.setBody( new Body() );
Map<String, String> attributes = new HashMap<String, String>();
attributes.put( "outputEncoding", getOutputEncoding() );
Locale locale = Locale.getDefault();
SiteRenderingContext siteContext = siteRenderer.createContextForSkin( getSkinArtifactFile(), attributes,
model, getName( locale ), locale );