Fixing strbuf_addf adding unnecessary new line.

Added strbuf_addfln which can be used if new line needs to be added.
This closes #38