Fix for encoding issue when checking php syntax on screen templates.