Don't send invalid characters in ical output

closes #90