Implement dir2pi functionality into pip-bundle.py module