update getAttachments() handle calendar as a .ics file