Create directory for event handler in advance.