Added getTempDirectory to use /App_Data.