Allowing unicode fmt in savetxt.

If the fmt is unicode, it will be re-encoded in ASCII before use.

Raises an error if the conversion is not possible.