Make sure path does not get mangled on windows when saving events.