Fix memory corruption issue in fatso_strbuf_append()

Fix for issue #2