added a recording mechanism for pip which knows about virtualenvs