SONARJAVA-584 Improve analysis of JaCoCo results

* Use BufferedInputStream for better performance.

* Opened files should be closed after processing.