Fixed version of the result file.
Now uses StringEscapeUtils from the apache lang lib to escape passed
user inputs.
Speed increase : ~x5 minimum (by 'removing' useless modes), version revised.