Catch failing io printouts