[#2071] don't write \0