Add IOError to possible write errors