event.path: fix makedirs