Removes blank lines and trims leading and trailing white spaces from srt subtitles