Audit: fix handling of 'strings' with NULL characters