Use shared_ptr's of LocalGridFile in open_files instead of bare pointers.