It can be done, but I'm also trying to not get sucked into writing new tests at this moment for existing code. I'd rather undo this change than write new tests for this function. I only made the change because I actually saw an OSError once due to incorrect behavior in a new importer. I'm going to merge, and if anyone feels strongly, I'll just undo this particular change.