fixed issue downloading docx/ppt files