Add format type and number of tracks to header