I had ^Ced the script the first time, so maybe it was appending to a temp file that was previously created.