Fixed logic of formats.sam.output_bam(); action varies based on the
`app` making the fn call. Changed default method to `pattern` for
apps.grid.kill()