Fix crash and bad import due to timestamps

Take a date from a track or trackpt, rather than the first time node
we see inside a gpx file.