Fix issue for file encoding with TOMCAT and CHEF