FS#10834 by Alex Bennee, fixing off-by-one bug in code calling format_track_path