wrap io exceptions and skip them