Removed potentially problematic GC call from host side.
Fixed potential 'nullpointer' in file handle gc metamethod.