Using Rack::Test::UploadedFile.new with StringIO causes an exception

Hello there. I was wondering if someone could take a look at this PR

I think I’ve found a genuine bug, and I’m excited to drive the PR all the way with your guidance. :heart: