Create logs and cache dirs during deploy