utf8 fixes; cube_export; journal refactor; testutils refactor