Add function to export to old track format