Update session.rb

Added method to upload a file from io into a specific folder id