Fix tempdir perms for two tests