[TIMOB-16979] Added better error handling around the analytics event files.
Merge pull request #90 from appcelerator/timob-16979

[TIMOB-16979] Added better error handling around the analytics event fil...