Only catch OSErrors.