use real path of temporary directories in tests

related to https://github.com/hashdist/hashdist/pull/109