Ensure temp_dir is set for PEAR too