Added some missing fseek_success checks