Given that we create the temp dir ourselves, there should be no security issue at all, but better safe than sorry...