added missing GC functions for file objects.

i forgot to implement a copy function for file objects as well,
so they couldn't be passed to functions properly. I also updated
the 'file_io.lx' sample to better demonstrate file reading/writing.