Fix io_free, interpret_cleanup and io_file_free

Make sure the setting to 0L goes back to use