create a per-user temporary directory

Signed-off-by: Dominik Richter <dominik.richter@gmail.com>