Fix error when writing hostmask-collision error message.