Fix Paperclip::DataUriAdapter to handle multiline base64

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