apparently fseek should not set the error flag on failed seek