Fixed stream offset in converting Python file objects to C FILE pointers.