Rename quiet_on_read_err to quiet_on_io_err

Since this variable is used for both read and write errors.