refactoring to write playlist in UTF-8 -> m3u8
refactoring to write playlist in UTF-8 -> m3u8