Don't try to recreate input ttbin file in current directory
Fix distance value when total_distance in summary tag differs from the
last record distance. This can happen when user specifies his own
distance value after training.
Calculate "time" (seconds from start) field for swim and treadmill
activities the same way as for GPS-based activities.
Merge pull request #6 from oleg-umnik/master-my

Some fixes