[python] fix xbmcvfs.File(file).write(buffer)

the xbmcvfs write method is currently rendered useless by the fact we append a null-terminator
to the buffer when writing it to a file.

fixes trac #13545


for frodo, sign-off by @amet or @jimfcarroll