Dump bug report to a file and compress it.