[FIX] make and ensure directory exists