Fix seek() on Windows systems.

Corresponding Avro issue:
https://issues.apache.org/jira/browse/AVRO-1488