Stop corrupting file position on a failed encoding string parse.

 Fix a missing reset of the file position in _readencstring as reported by Norbert Janssen.

The function takes an offset from which to read and seeks there. It caches the original file position but fails to reset it on failure. This patch fixes that.