Bug 836580: Use the profile directory for the temporary test files