Changed ioutil.WriteFile to be able to force a Sync() call
Changed ioutil.WriteFile to be able to force a Sync() call

iouti.WriteFile function does not call os.File.Sync internally
(https://github.com/golang/go/issues/20599), so the code has
been updated to forced a sync after each file written by an update

tuenti/pouch