Activate sync mode to avoid repetitive flushing

The API offers a declarative way to keep stream writer and file system
in synchronization without flushing all the time.

Signed-off-by: Konrad Reiche <konrad.reiche@gmail.com>