Update xunit-file.js

Adding option to print the result to console also