[patch] xbmcvfs support write binary data to File.

the swig support typemap for such situation, but seems xbmc not use swig generate code, instead output xml file and then use groovy code with some code copied from swig do the real work which seems not support multiple params typemap.
so, for support binary data write for the xbmcvfs module, I had to write a patch like the read method did, here it is.