Fix other compatibility issues with 4.012
Fix broken program output file storage
Fix temp file issue for time process