add unicode support to writef/2 - resolves #62