Update distress_receipt.py

Rewrote a splitting function to work with Python2.