Use fseek since Windows doesn't have fseeko

Signed-off-by: unknown <you@example.com>
Implement Windows-specifics

Signed-off-by: unknown <you@example.com>