Fixed:  When loading a file, Lua may call the reader function again after it returned end of input .  Patch 2 from lua.org http://www.lua.org/bugs.html#5.1.5-2