Updated mime ics file-type.

For some reason the upload library wasn't accepting text/calendar. I used what I implemented here and it works. Please review.