ah good catch, thank you. updated to just use encode64 with a newline stripping step