FileIO throws exception on read/write failure
Merge pull request #25 from SteffenL/fileio-throw-exception-on-fail

Disconnecting a drive while being read may cause infinite loop