Added common I/O error classes.