rewrite track numbers before commiting track data