safeformat and errorable moved from cwt-sys library.