Comment 2 for bug 865210

In the end I added handling both cases (IOError and ValueError).