MAINT: io: Remove a few unreachable return statements.
Merge pull request #2687 from WarrenWeckesser/maint-io-unreach

MAINT: io: Remove a few unreachable return statements.