What is the proper way to close file received by file_open_root?