CHEF-4850 Close file in Chef::File::Edit after reading contents