Close document and writer stream for ppt/pptx