Adding code to handle the IOError exception, as in my attached patch, should take care of the problem.
Adding code to handle the IOError exception, as in my attached patch, should take care of the problem.