Support file uploads on PUT and POST

I had a requirement to upload attachments to Xero. Cheers!