Add the original exception from r.getFailure() to the IOexception to
give the user a clue to why it failed.