Compress files and archive directory contents
Make compressDirectory handle single files by creating a tar.gz
named with the file's SHA256. Update the sandbox tar invocation to
use `-C <dir> .` so the archive contains the directory's contents
instead of the directory itself.