base64_conv: finished up mods. Now all converts honor to_len