make example external command work again

`brewcask-dumpcask.rb` was broken by #4964.