Save data in a file with Python API

The TTN implementation has been left behind / deprecated.

paho-mqtt · PyPI seems to be the client of choice now.