Fix fseek_ and ftell_ on Win32

- on Windows fseek_ returned always "the end" of a stream, added "fflush" to make it work again
Merge pull request #1 from GWRon/fix_fseek_ftell

Fix fseek_ and ftell_ on Win32