Ruby script to manage dhcp reservations file