change all file writes to random access with O_SYNC

- for giving the same result for all write tests

Change-Id: I630cfb8712bf0b130cb97f42b8c1708cfa0a1358
2 files changed