dumping subprcess output in a file in append mode,fh1.seek(2)