I'm trying to update a file with Chinese Characters, but the update function causes a buffer overload since Chinese characters are double-byte. How can I increase the buffer size?