Idomatic Ruby instead of Shell for deletion

The built in Ruby methods for deletion seem a little cleaner here. This will probably be more system independent as well.