Upload a file from IO to a specific folder

Hello, 
Added the method upload_file_from_io_to_folder. It is a clone of the upload_file_from_io with the added parameter folder_id to write the file(an image) to specific folder. Currently the image is saved a google document and not as an image file, any ideas why? Your views and comments are welcomed. 
Thanks
Nawshine