pptx converter wrong use of file stream