libfec: handle IO errors

Treat IO errors as corruption and attempt to recover instead of
instantly failing.

Change-Id: I5abbe9a95d654c636ce013e3c0928e170a0e2c66
1 file changed