Change pi-blaster writeFile to appendFile.