core: use tee to write in /etc/apt/apt.conf (Travis)