fix saving heart beat if TCX files are rewritten
http://forum.routeconverter.com/thread-1603-post-11058.html#pid11058