Commit 283281f broke compression by appending the argument last to the tar command line. It needs to appear before the file. Fix that and add a test. [teg: add minor fix]
283281f