rhbz986145 Check for IO error after each write
Merge pull request #61 from zanata/rhbz986145

rhbz986145 Check for IO error after each write