zaml: avoid calling emit when we don't have anything to output
The nl method allowed an additional string to be output after the newline;
this is seldom used, and the default implementation resulted in emitting an
empty string.
We can just skip that, for a minor win in function call count.
Signed-off-by: Daniel Pittman <daniel@puppetlabs.com>