Bugfix: Rewind logfile before fread.