migrate from wget to Ruby open