Remove output file when there's an error.
When stdin or stdout is a terminal, do something saner than just expecting compressed data there.