Improve error reporting by using a CascadingIOException instead of an ordinary IOException. Due to Alexander Klimetschek.