Fixed missing O_SYNC usage.

Added benchmarks for Linux.