Re-add the lseek to the beginning of the file which was accidentally removed.