don't append null-terminator to buffer. fixes #13545
Merge pull request #2053 from ronie/xbmcvfs-write

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