Fix for issue #30
Created originally on Bitbucket by sdorra (Sebastian Sdorra)
Was already merged in Bitbucket before import, marked as merged by the import user
This fix creates new temporary directories at .javahg/tmp in the home directory of the user.