FIX: issue #494 (unicode/load-utf8-buffer corrupts memory)