intercept ASCII I/O errors