Fixed issue with temp files crashing precompiler

Added a simple check to block temp files from accidentally being sent into processTemplate(), which crashes the process.