refactor emit-org-post to use a temp buffer, write out <title> from org metadata