Fix crash when calling free on memory managed by Lua.

Calling channel.Play with a non-existent file crashes because one cannot call free on memory managed by Lua.