Web-based file uploader on sinatra