Claim#attachments S3 compat fix

Because:

```ruby
File.basename 'http://example.com/lol/files/doc.rtf?token=such'
# => 'doc.rtf?token=such'
```