Actually check read/write errors in IDE (Ian Jackson).