managing file upload with native sinatra