added utf8 support to Lua popen