import errno at the top of portage.py