FIx bug in writing to apt-get source file