iCalendar file could not be created due to errors