fix saving for ContentStream