Enable grouping for capsule.
An uniq tmp dir should be created for each instance as it is removed on exit.

Revert "Fix .tmp directory creation"

This reverts commit db9ebae382c098bcf1f33892b0ea2f2d0c25ccf6.