refactor write_route_file again, ANY_DEVICE="-"
Don't create empty ifroute-*; concat(arr) instead of push(*arr).