FIxed bugs in globus_file_adapter