Bug detected?

Script seems to create empty tracks / tracksegs

See initial comment / docstring for details
Add file time tag

This is the time tag for the file. Not to be confused with the
trackpoint time tag. Creates this with time the script runs i.e. the
creation date time of the gpx file.