The wrapper around seek would sometimes change offsets before passing to lseek. Directly call lseek since python appears to be making some sort of mistake in some cases.