forestdb.lib: use returned length since strings dont seem to be null terminated.