version.py: only use last 6 of git hash for version
TimeSeries.read: fixed a minor bug