Do not write directly for streaming writes, as it does not works

Write directly only for non streaming writes.