We do a rewind after we return the stream in ``getContentAsStream``. I think the imagine adapter does not rewind the stream after performing its tasks. Doctrine then persists it and has a stream with the cursor at the end. We could make a copy in ``getContentAsStream`` and return that, drawback is that each image is then 2 times in memory.