Skip null names on !export, and allow strip and export to be used at the same time

modified the export function to check if name was null and to skip if it
is, and now that export doesn't need end tags, there is no reason why
stripping out the header would cause an error if there were unmatched
beginning and ending tags.

Signed-off-by: Sam Armstrong <mail@samarmstrong.me>