Improved `pip freeze` parsing.