EDOC-1562: prevent storing binaries to local store during setContentStream()