Fix egg cache issue

I made this fix quite a while ago but forgot about it. I wish I could rename the branch from the website, but I don't know how.
Use the `errno` enum value (https://docs.python.org/2/library/errno.html#module-errno) instead of 17.