Ensure logs dir is created