Fixed importing from errno submodule in Python 3