Fix Paperclip::DataUriAdapter to handle multiline base64

Base64 encoded data-uris can contain newlines, make sure we can handle
it correctly.