Avoid nulls in the SRT tag formatting

'Cause nulls are bad, and were causing bugs when they escaped (which
happened when the text was an empty string). In addition to null
elimination, sacrifice some efficiency for simplicity.