update-geoip.sh: rewrite for dynamic urls; use smarter fetch (curl with timestamp check)