Ensure logs directory exists