I guess you haven't given write permissions to the folder you are trying to write to (in your first code snippet, this is the folder 'C:\Users\Ryan Wade\Desktop\XML').
Could you show me the content of your '<vco-install-path>/app-server/conf/js-io-rights.conf' file?