Ensure BufferedReader in parseLog is closed

[FIXED JENKINS-25800]

Added a try/finally block around the reader, so it doesn't leak resources. BufferedReader will automatically call close on the FileReader it wraps.