Clean invalid data from subtitles in .srt format