Append data to files using a temporary copy
