Adding better error messages showing the place in the IndexedIO file where the exception occured.