(lua) added open_nonblock for non-blocking text/file based input