http://bugs.winehq.org/show_bug.cgi?id=17003 - lseek with SEEK_END being ignored after fread