more porting tweaks: do not rely on the -w arg to base64, so we can use fourmilab...