call RestClient put correctly in create_folder

The ```RestClient.put``` to create the folder is completely wrong and is returning xml because it is completely wrong.  The accept parameter of ```RestClient.put``` is the third argument.