Merge and clean up multi-line and multi-language subtitle files.