Sync file after sed and write
Sync file after sed and write

Resolves ZSTAC-15983

zstackorg/zstack-utility,zstackio/zstack-utility,zstackio/zstack-utility,zstackorg/zstack-utility,zstackorg/zstack-utility,zstackio/zstack-utility