Escape HTML for file-source template

Adds escapeHTML util method to be used on writeFileReport in order to prevent the source code to be broken when the JavaScript file contains HTML tags