dev_file_eof.c

handle->putback_size will be checked by fb_FileEofEx()

fseek() is unreliable in text-mode, size must be calculated

re-opening the file in binary mode