Fix OSError catching for Python 2
Fix OSError catching for Python 2

sbidoul/pip,pypa/pip,pfmoore/pip,xavfernandez/pip,pfmoore/pip,pradyunsg/pip,pypa/pip,xavfernandez/pip,sbidoul/pip,xavfernandez/pip,pradyunsg/pip