cross platform wget/curl/fetch tweaks and vim utf-8 encoding