Replace errno with os.errno to fix ImportError bug

Can someone merge in this quick fix?