LastFileSaved works again

Added the logic back into encodedpolyline.py;