Classier solution for file uploads in Ruby for Rack, Rails, Merb and Sinatra