Formatting changes to write_output

Still a minor tabbing problem in tableau that have more than one UR,
we'll fix later.