Normalize attachments from request params.

Closes #6. Rails handles uploaded files differently from Rack.
Specifically, Rack returns a hash containing file data, while Rails
returns an ActionDispatch::Http::UploadedFile object.