-- Fixed the freeing of bin object in r_core_file_close
-- Added a function that checks for an open file, and if so load
   the bin and the file environments.
-- Updated the r_core_bin_load to use this function to handle the
   loading a file.