JERSEY-2604 MVC AbstractTemplateProcessor leaks file handles

Change-Id: Iacda483e763276ba40a6a28a8d2b9d7e3e469458