Tweak database exporter to avoid trailing whitespace
Ensure string-block is always written (thanks Sigmur!)
Allow adding nulls to records (thanks Steff!)