(Cal) Fix ical source error with encoding and missing end event