Fixed Lua string return values.

Fixes #773.