NameError: global name 'errno' is not defined