fix permisions for temp dir used by tar compressor

This causes packages and other compressed files generated by the agent to
have 0700 permissions for the top level of the compressed tarball