Namespaced C API. Can now save string files in encodings other than UTF-8.