stripping line breaks from base64 strings