Fall back to `Exception` if `osexception` is not available
- For compatibility with < 2.8.0
Merge pull request #2 from smathot/master

Fall back to `Exception` if `osexception` is not available