you saw files[0] being a symlink?
i.e. something matching 'setuptools-*.tar.gz' or 'pip-*.tar.gz' was a symlink?