When template parsing fails, add more debug information (what file) and re-raise