added #EXT-X-ENDLIST tag to playlist serialization methods