change first line of a file in python,"shutil.copyfileobj(from_file, to_file)"