2 new features for session export view

Allow output to be pretty-formatted, ask for confirmation
before overwriting existing file