If the file was rotated/deleted the data is never written to disk. Calling os.Stat ensures that the file will be re-created.