fish: workaround bug in builtin printf

Builtin printf in fish can't output \0.
See https://github.com/fish-shell/fish-shell/issues/908