Make sure parent directory exists for logger