Transcript buffer to use view mode

This prevents the user from accidentally changing the transcript, and
enables key bindings useful for scrolling etc.
Use defvar-local

`defvar-local' was introduced in Emacs 24.3.
Escape newlines when writing overview file
Fix mailbox mode header line

Used incorrect variable name.