subprocess module raises OSError instead of IOError

follow-up to pull request #1
catch OSError instead of IOError