Remove the Codecvt param from format_writer.

This needs some redesign.